package com.example.movie;


import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
/**
 * @author 时鸣雨
 * @target
 */
public class Data1 {
    private SimpleStringProperty title;
    private SimpleStringProperty type;
    private SimpleStringProperty director;
    private SimpleStringProperty actors;
    private SimpleStringProperty releaseDateStr;

    public Data1(String title, String type, String director, String actors, String releaseDateStr){
        this.title = new SimpleStringProperty(title);
        this.type = new SimpleStringProperty(type);
        this.director = new SimpleStringProperty(director);
        this.actors = new SimpleStringProperty(actors);
        this.releaseDateStr = new SimpleStringProperty(releaseDateStr);

    }

    public String getTitle() {
        return title.get();
    }
    public SimpleStringProperty titleProperty() {
        return title;
    }
    public void setTitle(String title) {
        this.title.set(title);
    }

    public String getType() {
        return type.get();
    }
    public SimpleStringProperty typeProperty() {
        return type;
    }
    public void setType(String type) {
        this.type.set(type);
    }

    public String getDirector() {
        return director.get();
    }
    public SimpleStringProperty directorProperty() {
        return director;
    }
    public void setDirector(String director) {
        this.director.set(director);
    }

    public String getActors() {
        return actors.get();
    }
    public SimpleStringProperty actorsProperty() {
        return actors;
    }
    public void setActors(String actors) {
        this.actors.set(actors);
    }

    public String getReleaseDateStr() {
        return releaseDateStr.get();
    }
    public SimpleStringProperty releaseDateStrProperty() {
        return releaseDateStr;
    }
    public void setReleaseDateStr(String releaseDateStr) {
        this.releaseDateStr.set(releaseDateStr);
    }

}
